home *** CD-ROM | disk | FTP | other *** search
/ STraTOS 1997 April & May / STraTOS 1 - 1997 April & May.iso / CD01 / GNU_KIT / DISK6.ZIP / gnu / man / cat1 / rm.1 < prev    next >
Encoding:
Text File  |  1994-01-19  |  1.7 KB  |  67 lines

  1.  
  2.  
  3.  
  4.  
  5.  
  6.  
  7. RM(1L) RM(1L)
  8. NAME
  9.      rm - remove files
  10. SYNOPSIS
  11.      rm [-dfirvR] [+directory] [+force] [+interactive] [+recur-
  12.      sive] [+verbose] path...
  13. DESCRIPTION
  14.      This manual page documents the GNU version of rm.  rm
  15.      removes each given file.  By default, it does not remove
  16.      directories.
  17.      If a file is unwritable, the standard input is a tty, and
  18.           _     _____                                               the -f or +force option is not given, rm prompts the user
  19.      for whether to remove the file.  If the response does not
  20.      begin with `y' or `Y', the file is skipped.
  21.      GNU rm, like every program that uses the getopt function to
  22.      parse its arguments, lets you use the -- option to indicate
  23.      that all following arguments are non-options.  To remove a
  24.      file called `-f' in the current directory, you could type
  25.      either
  26.           rm -- -f
  27.      or
  28.           rm ./-f
  29.      The Unix rm program's use of a single `-' for this purpose
  30.      predates the development of the getopt standard syntax.
  31.      OPTIONS
  32.       _   _________      -d, +directory
  33.           Remove directories with `unlink' instead of `rmdir',
  34.           and don't require a directory to be empty before trying
  35.           to unlink it.  Only works for the super-user.
  36.       _   _____      -f, +force
  37.           Ignore nonexistent files and never prompt the user.
  38.       _   ___________      -i, +interactive
  39.           Prompt whether to remove each file.  If the response
  40.           does not begin with `y' or `Y', the file is skipped.
  41.       _   _   _________      -r, -R, +recursive
  42.           Remove the contents of directories recursively.
  43.       _   _______      -v, +verbose
  44.           Print the name of each file before removing it.
  45. Page 1
  46.  
  47.  
  48.  
  49.  
  50.  
  51.  
  52.  
  53.  
  54.  
  55.  
  56.  
  57.  
  58.  
  59.  
  60.  
  61.  
  62.  
  63.  
  64.  
  65.  
  66.  
  67.